<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header','admin');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>cookie.js"></script>
<div class="pad-10">
<div id="searchid" style="">
</div>
<div class="table-list">
	<input type="hidden" value="" name="relation" id="relation">
    <table cellpadding="2" cellspacing="1" class="table_form" width="100%">

	<tr>
		<th width="100"><?php echo L('vote_option')?> :</th>
		<td><input type="text" name="vote_option" id="subject_title"
			size="30" class="input-text"></td>
	</tr>

	<tr>
		<th width="100"><?php echo L('vote_images')?> :</th>
		<td><?php echo form::images('vote_images', 'title_image', '', 'subject', '', 30)?></td>
	</tr>

</table>
</div>
</div>
<style type="text/css">
 .line_ff9966,.line_ff9966:hover td{
	background-color:#FF9966;
}
 .line_fbffe4,.line_fbffe4:hover td {
	background-color:#fbffe4;
}
</style>
<script type="text/javascript">
	function refersh_window() {
		var option = $('#subject_title').val();
		var image = $('#title_image').val();
		var strs = option+","+image;
		$('#relation').val(strs);
	}
	setInterval("refersh_window()", 100);
</script>
</body>
</html>